package com.yunyike.mapper;

import java.util.List;
import java.util.Map;

import com.yunyike.dto.UserOrdersDTO;
import com.yunyike.model.Orders;

public interface OrdersMapper {
    int deleteByPrimaryKey(String orderId);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(String orderId);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);
    
    List<Orders> findOrdersByStatus(List<Integer> statusList);

	List<UserOrdersDTO> findUserOrders(UserOrdersDTO param);

	List<Map> findUserOrdersCount(UserOrdersDTO param);
}